package com.itkjb.leisurely.center.sys.service;


import com.itkjb.leisurely.center.sys.model.SysDepartmentModel;
import com.itkjb.leisurely.core.base.IBaseService;

import java.util.List;

/**
 * <p>
 * 组织结构 服务类
 * </p>
 *
 * @author leisure_gen
 * @since 2020-06-12
 */
public interface ISysDepartmentService extends IBaseService<SysDepartmentModel> {

    /**
     * 为已登录的用户提供查询 根据用户id  查询用户的所在组织
     * @param userId
     * @return
     */
    List<SysDepartmentModel> findUserDepsByUserId(String userId);


}
